﻿using MvcForum.Net.Configuration;

namespace MvcForum.Net.Mvc
{
    public abstract class ViewPage : System.Web.Mvc.ViewPage
    {

        #region Meta Tags
        protected string Keywords(string keywords)
        {
            return string.Format("<meta name=\"keywords\" content=\"{0}\" />", Html.Encode(keywords));
        }

        protected string Description(string description)
        {
            return string.Format("<meta name=\"description\" content=\"{0}\" />", Html.Encode(description));
        }
        #endregion

        protected ForumConfiguration Configuration
        {
            get
            {
                return ForumConfiguration.Instance;
            }
        }

       

        

    }
}
